package de.tempel.pong.collison;

import java.util.List;

import processing.core.PApplet;
import de.tempel.pong.objects.Ball;
import de.tempel.pong.objects.Racket;

/**
 * Abstracte Basisklasse für CollisionManager.
 * 
 * @author mathias
 * 
 */
public abstract class AbstractCollisionManager {

	protected Ball ball;
	protected List<Racket> rackets;
	protected PApplet window;

	/**
	 * 
	 * @param ball
	 * @param rackets
	 * @param window
	 */
	public AbstractCollisionManager(Ball ball, List<Racket> rackets,
			PApplet window) {
		this.ball = ball;
		this.rackets = rackets;
		this.window = window;
	}

	/**
	 * 
	 * @param tpf
	 */
	public abstract void checkCollisions(float tpf);
}
